package com.bw.shopping.entity;

import com.bw.mvvm_common.entity.BaseEntity;

import java.util.List;

public
/**
 * @author Lishaohe
 * @description:
 * @date :2021/10/29 0029 下午 1:47
 *
 */
class OrderEntity extends BaseEntity {

    /**
     * id : 0
     * orderGoodsList : [{"goods_count":0,"goods_desc":"string","goods_icon":"string","goods_id":0,"goods_price":"string","goods_sku":"string","id":0,"order_id":0}]
     * orderStatus : 0
     * payType : 0
     * shipAddress : {"id":0,"ship_address":"string","ship_is_default":0,"ship_user_mobile":"string","ship_user_name":"string","user_id":0}
     * totalPrice : string
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private int id;
        private int orderStatus;
        private int payType;
        /**
         * id : 0
         * ship_address : string
         * ship_is_default : 0
         * ship_user_mobile : string
         * ship_user_name : string
         * user_id : 0
         */

        private ShipAddressBean shipAddress;
        private String totalPrice;
        /**
         * goods_count : 0
         * goods_desc : string
         * goods_icon : string
         * goods_id : 0
         * goods_price : string
         * goods_sku : string
         * id : 0
         * order_id : 0
         */

        private List<OrderGoodsListBean> orderGoodsList;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getOrderStatus() {
            return orderStatus;
        }

        public void setOrderStatus(int orderStatus) {
            this.orderStatus = orderStatus;
        }

        public int getPayType() {
            return payType;
        }

        public void setPayType(int payType) {
            this.payType = payType;
        }

        public ShipAddressBean getShipAddress() {
            return shipAddress;
        }

        public void setShipAddress(ShipAddressBean shipAddress) {
            this.shipAddress = shipAddress;
        }

        public String getTotalPrice() {
            return totalPrice;
        }

        public void setTotalPrice(String totalPrice) {
            this.totalPrice = totalPrice;
        }

        public List<OrderGoodsListBean> getOrderGoodsList() {
            return orderGoodsList;
        }

        public void setOrderGoodsList(List<OrderGoodsListBean> orderGoodsList) {
            this.orderGoodsList = orderGoodsList;
        }

        public static class ShipAddressBean {
            private int id;
            private String ship_address;
            private int ship_is_default;
            private String ship_user_mobile;
            private String ship_user_name;
            private int user_id;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getShip_address() {
                return ship_address;
            }

            public void setShip_address(String ship_address) {
                this.ship_address = ship_address;
            }

            public int getShip_is_default() {
                return ship_is_default;
            }

            public void setShip_is_default(int ship_is_default) {
                this.ship_is_default = ship_is_default;
            }

            public String getShip_user_mobile() {
                return ship_user_mobile;
            }

            public void setShip_user_mobile(String ship_user_mobile) {
                this.ship_user_mobile = ship_user_mobile;
            }

            public String getShip_user_name() {
                return ship_user_name;
            }

            public void setShip_user_name(String ship_user_name) {
                this.ship_user_name = ship_user_name;
            }

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }
        }

        public static class OrderGoodsListBean {
            private int goods_count;
            private String goods_desc;
            private String goods_icon;
            private int goods_id;
            private String goods_price;
            private String goods_sku;
            private int id;
            private int order_id;

            public int getGoods_count() {
                return goods_count;
            }

            public void setGoods_count(int goods_count) {
                this.goods_count = goods_count;
            }

            public String getGoods_desc() {
                return goods_desc;
            }

            public void setGoods_desc(String goods_desc) {
                this.goods_desc = goods_desc;
            }

            public String getGoods_icon() {
                return goods_icon;
            }

            public void setGoods_icon(String goods_icon) {
                this.goods_icon = goods_icon;
            }

            public int getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(int goods_id) {
                this.goods_id = goods_id;
            }

            public String getGoods_price() {
                return goods_price;
            }

            public void setGoods_price(String goods_price) {
                this.goods_price = goods_price;
            }

            public String getGoods_sku() {
                return goods_sku;
            }

            public void setGoods_sku(String goods_sku) {
                this.goods_sku = goods_sku;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getOrder_id() {
                return order_id;
            }

            public void setOrder_id(int order_id) {
                this.order_id = order_id;
            }
        }
    }
}
